'Declaration Public Overloads Overrides Function Evaluate( _ ByVal args() As System.Object _ ) As System.Object
'Usage Dim instance As CalcSumIfFunction Dim args() As System.Object Dim value As System.Object value = instance.Evaluate(args)
public override System.object Evaluate( System.object[] args )
Parameters
- args
The args contains 2 - 3 items: range, criteria, [sum_range].
Range is the range of cells that you want evaluated by criteria.
Criteria is the criteria in the form of a number, expression, or text that defines which cells will be added.
[Sum_range] are the actual cells to add if their corresponding cells in range match criteria.